package com.example.crm.config.md5;

import org.apache.shiro.crypto.hash.Md5Hash;
import org.apache.shiro.crypto.hash.SimpleHash;
import org.junit.jupiter.api.Test;

public class Md5 {
    @Test
    public void testMd5Hash(){
        String password = "admin";
        String salt = "czkt";
        Object result = new SimpleHash("md5",password, salt,2);
        //36aa3e095a86925b7658b5d00557fa77
        System.out.println(result);
    }
}